package com.softdev.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.softdev.pojo.Module;
import com.softdev.pojo.Risk;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

@Data
public class ProjectDto implements Serializable {

    private static final long serialVersionUID = -5674327967816288920L;

    private String name;

    private int type;

    private String background;

    private Long[] SkillIds;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime finishTime;

    private int status;

    private String stages;

    private int cur;

    private Set<ModuleDto> moduleDtos;

    private Set<RiskDto> riskDtos;

}
